<template>
    <div>
        <p>题干：{{ question.content }}</p>
        <div v-if="question.type === QUESTION_TYPE.enums.JudgeQuestion.value">
            <div>
                <el-radio v-model="rightKey" label="正确">正确</el-radio>
                <el-radio v-model="rightKey" label="错误">错误</el-radio>
            </div>
        </div>
        <div v-if="question.type === QUESTION_TYPE.enums.FillBlankQuestionExcel.value">
            填空题
        </div>
        <div v-if="question.type === QUESTION_TYPE.enums.EssayQuestion.value">
            <el-input v-model="rightKey" placeholder="请输入内容"></el-input>
        </div>
        <div v-if="question.type === QUESTION_TYPE.enums.ChoiceQuestion.value">
            <div>
                <el-radio v-for="(option, index) in question.examQuestionBankOptionList" v-model="rightKey"
                    :label="option.sort">{{ option.sort }} . {{ option.content }}</el-radio>
            </div>
        </div>
        <el-button type="success" @click="submit">提交</el-button>
        <div>
            <p>解析</p>
        </div>
    </div>
</template>
<script src="./index.js" />